Adds or deletes a Domain Name System (DNS) name server.
dns | Domain Name System. |
cache | Specifies adding or deleting DNS name server. |
add | Specifies adding a name server. |
delete | Specifies deleting a name server. |
name-server | Specifies adding or deleting a DNS name server. |
ip_address | Specifies the IP address of the DNS name server. |
vr | Configures the VR on which the DNS name server is accessible. |
vr_name | Specifies the VR on which the DNS name server is accessible. If not specified, the VR of the current command context is used. |
If no VR name is specified, the VR of the current command context is used.
You can configure a maximum of 8 name servers.
To view the current DNS name servers, use the command show dns cache name-server.
The following example adds a DNS name server located at 1.1.1.2:
# configure dns cache add name-server 1.1.1.2
This command was first available in ExtremeXOS 30.3.
This command is available on all Universal switches supported in this document.